package com.ytktt.study.week9.task7.account;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ImportResource;

/**
 * 账户0服务启动器
 *
 * @author ytk
 */
@SpringBootApplication
@ImportResource({"classpath:spring-dubbo.xml"})
@MapperScan("com.ytktt.study.week9.task7.account.mapper")
public class Account0DubboApplication {

    public static void main(String[] args) {
        SpringApplication springApplication = new SpringApplication(Account0DubboApplication.class);
        springApplication.setWebApplicationType(WebApplicationType.NONE);
        springApplication.run(args);
    }
}
